/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.library.web_layer;

import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.PasswordTextField;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.request.mapper.parameter.PageParameters;

/**
 *
 * @author dulinka
 */
public class Logout extends Template {
    
    private static final long serialVersionUID = 1L;

  
  
    public Logout(final PageParameters parameters) {
	super(parameters);   
                    getSession().invalidateNow();
                    setResponsePage(HomePage.class); 
    }
}
